* {
    margin: 0;
    padding: 0;
    user-select: none;
}

body {
    overscroll-behavior: none;
}

html {
    width: 100%;
    height: 100%;
}

body {
    width: 100%;
    height: 100%;
    /* padding: 5px;
    box-sizing: border-box; */
}

/* #app {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    border-radius: 10px;
    background-color: transparent;
    padding: 5px;
    box-shadow: 0px 0px 5px #ccc;
    background-color: white;
} */

::-webkit-scrollbar {
    display: none;
}

.col {
    display: flex;
    flex-direction: column;
}

.row {
    display: flex;
    flex-direction: row;
}

.col_center {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.row_center {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.card {
    border-radius: 5px;
    box-shadow: 0px 0px 3px #ccc;
}

.card2 {
    border-radius: 3px;
    box-shadow: 0px 0px 2px #aaa;
}

.p10 {
    padding: 10px;
}

.m10 {
    margin: 10px;
}

.ml10 {
    margin-left: 10px;
}

.mr10 {
    margin-right: 10px;
}

.mt10 {
    margin-top: 10px;
}

@keyframes anim_scale {
    from {
        transform: scale(30%) translate(-50%, -50%);
        transform-origin: top left;
    }

    to {
        transform: scale(100%) translate(-50%, -50%);
        transform-origin: top left;
    }
}

.dialog_close {
    animation: anim_scale 300ms;
    animation-direction: reverse;
}

.dialog_show {
    animation: anim_scale 200ms;
}

@keyframes anim_rotate_loop {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.dialog {
    position: fixed;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 10px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0px 0px 10px #ccc;

    min-width: 250px;
}

.dialog_title {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.dialog_title_text {
    font-size: large;
}

.close_btn {
    background-image: url('../assets/ic_btn_close_n.png');
    background-size: cover;
    width: 30px;
    height: 30px;
}

.close_btn:hover {
    background-image: url('../assets/ic_btn_close_h.png');
}

.close_btn:active {
    background-image: url('../assets/ic_btn_close_p.png');
}

.dialog_succ {
    background-image: url('../assets/ic_succ.png');
    background-size: cover;
    width: 80px;
    height: 80px;
}

.dialog_warn {
    background-image: url('../assets/ic_warn2.png');
    background-size: cover;
    width: 80px;
    height: 80px;
}

.dialog_err {
    background-image: url('../assets/ic_err.png');
    background-size: cover;
    width: 80px;
    height: 80px;
}

.dialog_prog {
    background-image: url('../assets/ic_prog.png');
    background-size: cover;
    width: 80px;
    height: 80px;

    animation: anim_rotate_loop;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

.dialog_70 {
    width: 30px;
    height: 30px;
}

.dialog_msg {
    max-width: 150px;
    white-space: wrap;
    font-size: 12px;
}

.ml5 {
    margin-left: 5px;
}

.mt5 {
    margin-top: 5px;
}

.m5 {
    margin: 5px;
}

.p5 {
    padding: 5px;
}

.cent_self {
    align-self: center;
}

.start_self {
    align-self: flex-start
}


[data-tauri-drag-region] {
    -webkit-app-region: drag;
}

[data-tauri-drag-region-exclude] {
    -webkit-app-region: no-drag;
}